package com.inforich.projectManage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.inforich.common.core.domain.AjaxResult;
import com.inforich.projectManage.dto.ProjectApproveDTO;
import java.util.List;
import java.util.Map;
import com.inforich.projectManage.domain.ProjectRubbishExpand;

/**
 * 新扩改登记Service接口
 *
 * @author hjm
 * @date 2022-10-30
 */
public interface IProjectRubbishExpandService extends IService<ProjectRubbishExpand> {

  /**
   * 分页列表
   */
  Page<ProjectRubbishExpand> pageProjectRubbishExpand(Page<ProjectRubbishExpand> page,
      Map<String, Object> map);

  /**
   * 列表
   */
  List<ProjectRubbishExpand> listProjectRubbishExpand(Map<String, Object> map);

  ProjectRubbishExpand getProjectRubbishExpandById(String id);

  ProjectRubbishExpand getProjectRubbishExpandByProjectId(String projectId);

  /**
   * 审批
   */
  AjaxResult approve(ProjectApproveDTO projectApproveDTO);

  int countByProjectId(String projectId);

  void removeByProjectId(String projectId);
}
